import request from '@/utils/request'

// 查询低保人员列表
export function listLow_income_person(query) {
  return request({
    url: '/report/low_income_person/list',
    method: 'get',
    params: query
  })
}

// 查询低保人员详细
export function getLow_income_person(id) {
  return request({
    url: '/report/low_income_person/' + id,
    method: 'get'
  })
}

// 新增低保人员
export function addLow_income_person(data) {
  return request({
    url: '/report/low_income_person',
    method: 'post',
    data: data
  })
}

// 修改低保人员
export function updateLow_income_person(data) {
  return request({
    url: '/report/low_income_person',
    method: 'put',
    data: data
  })
}

// 删除低保人员
export function delLow_income_person(id) {
  return request({
    url: '/report/low_income_person/' + id,
    method: 'delete'
  })
}
